package io.renren.modules.oatools.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 接口日志
 *
 * @author xhtang 173101649@qq.com
 * @since 1.0.0 2024-06-15
 */
@Data
@Schema(name = "接口日志")
public class CallSendLogDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "")
	private Integer id;

	@SchemaProperty(name = "请求ID")
	private Integer sendId;

	@SchemaProperty(name = "请求头")
	private String requestHeaders;

	@SchemaProperty(name = "请求参数")
	private String requestParams;

	@SchemaProperty(name = "请求实体")
	private String requestBody;

	@SchemaProperty(name = "请求地址")
	private String requestUrl;

	@SchemaProperty(name = "请求时间")
	private Date requestTime;

	@SchemaProperty(name = "响应时间")
	private Date responseTime;

	@SchemaProperty(name = "响应code")
	private Integer responseCode;

	@SchemaProperty(name = "响应数据")
	private String responseData;

	@SchemaProperty(name = "持续时长")
	private Integer duration;


}